package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.Sku;
import cn.tedu.csmall.product.pojo.vo.SkuListItemVO;
import cn.tedu.csmall.product.pojo.vo.SkuStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【pms_sku(SKU（Stock Keeping Unit）)】的数据库操作Mapper
 * @createDate 2023-06-15 14:22:58
 * @Entity generator.domain.Sku
 */

@Repository
public interface SkuMapper extends BaseMapper<Sku> {

    SkuStandardVO getStandardById(Long id);

    List<SkuListItemVO> listBySkuId(Long spuId);

}




